package com.lshlmy.gateway.service.impl;

import com.google.common.collect.Lists;
import com.lshlmy.gateway.mapper.TestMapper;
import com.lshlmy.gateway.service.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements ITestService {

    @Autowired
    private TestMapper testMapper;

    @Override
    public List<String> listMsg() {
        return Lists.newArrayList(testMapper.listMsg("2"));
    }
}
